home *** CD-ROM | disk | FTP | other *** search
/ Day Cry / Day Cry CD.bin / oh_towns / taropyon / splib / splib.lzh / PRG / LHX / USAGE_JC.C < prev    next >
C/C++ Source or Header  |  1994-07-09  |  4KB  |  103 lines

  1. /***********************************************************
  2.         usage_j.c -- japanese usage & message
  3. ***********************************************************/
  4. #include        "lh386.h"
  5.  
  6. #ifdef    __LHA386__
  7. char        title[] = "386|LHx  1.01b#02 (c)Yoshi, SUGI, TARO, 1988-94";
  8. #else
  9. char        title[] = "\nLH  2.02b (c)Yoshi, 1988-90\n";
  10. #endif
  11.  
  12. #ifdef    __HIGHC__
  13. #    pragma    Off(Warn)
  14. #endif
  15.  
  16. #ifdef    __LHA386__
  17. char use[] = "\
  18. LHx      for MS-DOS  version 2.02b    Copyright(C) 1990  H.Yoshizaki\n\
  19. 386|LHx  for TownsOS version 1.01b#02 Copyright(C) 1992  SUGI, TARO\n\
  20. \n\
  21. usage: lhx [-]{axelvudmpt}[rxpatoiwmczhn]] archive_file [file...]\n\
  22.  commands:                                options:\n\
  23.  a: Add(or replace) to archive            x: allow eXtended file names\n\
  24.  u: Update newer files to archive         p: distinguish full Path names\n\
  25.  m: Move to archive (means 'ad')          c: skip time-stamp Check\n\
  26.  f: Freshen files                         m: no Message for query\n\
  27.  d: Delete from archive                   a: allow any Attributes of files\n\
  28.  e: Extract from archive                  r: Recursively collect files\n\
  29.  x: eXtract files with pathnames          w: assign Work directory\n\
  30.  p: Print to STDOUT from archive          t: archive's Time-stamp option\n\
  31.  l: List of file                          z: Zero compression (only store)\n\
  32.  v: View listing of files with pathnames  o: use Old compatible method\n\
  33.  t: Test file CRC in archive              h: select Header level (default = 1)\n\
  34.                                           i: not Ignore lower case\n\
  35.                                           n: display No indicator a/o pathname\n\
  36. ";
  37. #else
  38. char use[] = "\
  39. LHx      for MSDOS version 2.02b Copyright(C) 1990  H.Yoshizaki\n\
  40. 386|LHx  for TOWNS version 2.02b Copyright(C) 1992  SUGI, TARO\n\
  41. \n\
  42. usage: lhx [-]{axelvudmcp}[qvnfodizg012][w=<dir>] archive_file [file...]\n\
  43. commands:                           options:\n\
  44.  a   Add(or replace) to archive      v  verbose\n\
  45.  x,e EXtract from archive            n  not execute\n\
  46.  l,v List / Verbose List             t  FILES are TEXT file\n\
  47.  u   Update newer files to archive   o  use LHarc compatible method (a/u)\n\
  48.  d   Delete from archive             w=<dir> specify extract directory (x/e)\n\
  49.  m   Move to archive (means 'ad')    d  delete FILES after (a/u/c)\n\
  50.  p   Print to STDOUT from archive    i  ignore directory path (x/e)\n\
  51.  t   Test file CRC in archive        z  files not compress (a/u)\n\
  52. ";
  53. #endif
  54.  
  55.  
  56. char UNKNOWNERR[]    =    "Unknown error";
  57. char INVCMDERR[]    =    "Invalid command";
  58. char MANYPATERR[]    =    "Too many files in command line";
  59. char RENAMEERR[]    =    "Can't rename Archive";
  60. char TOOMANYERR[]    =    "Too many files matched";
  61. char INVSWERR[]        =    "Invalid switch";
  62. char CRCERR[]        =    "CRC Err\n";
  63. char MKARCERR[]        =    "Can't create archive";
  64. char NOSPCERR[]        =    "Disk full\n"
  65.                         "Terminate and left temporary";
  66. char NESTERR[]        =    "Cannot nest.";
  67.  
  68. char NOARCNMERR[]    =    "No archive name";
  69. char NOFNERR[]        =    "No file name";
  70. char NOARCERR[]        =    "Archive not found";
  71. char MKTMPERR[]        =    "Can't create temporary file";
  72. char DUPFNERR[]        =    "Same names in another path";
  73. char TOOLONGERR[]    =    "Path name too long";
  74. char NOFILEERR[]    =    "No file found";
  75. char MKFILEERR[]    =    "Can't create file";
  76. char RDERR[]        =    "Can't read file";
  77. char WTERR[]        =    "Can't write file";
  78. char MEMOVRERR[]    =    "Memory overflow";
  79. char CTRLBRK[]        =    "Ctrl-break pressed";
  80. char NOMATCHERR[]    =    "Can't find File";
  81. char NOTLZH[]        =    "Extension of archive(%s) is not '.LZH'. "
  82.                         "Continue process? [Y/N] ";
  83. char SAMEFILE[]        =    "already exists.";
  84. char OVERWT[]        =    "Overwrite? [Y/N] ";
  85. char MKDIR[]        =    "Make directory? [Y/N] ";
  86. char MKDIRERR[]        =    "Failed in making directory";
  87. char RDONLY[]        =    "Read only!";
  88. char COPYERR[]        =    "\nFailed in copying temporary file to archive\n"
  89.                         "Terminate and left temporary '%s'.\n";
  90. char BROKENARC[]    =    "Broken archive.";
  91. char MAYDELETE[]    =    "  delete? [Y/N] ";
  92. char MAYCONT[]        =    "  continue? [Y/N] ";
  93.  
  94. char SAMEDIR[]        =    "a directory with the same name exists.";
  95. char NEWFILE[]        =    "newer or same file exists.";
  96. char METHODERR[]    =    "unknown method.";
  97. char DISKFULL[]        =    "disk full";
  98. char NOCRC[]        =    "CRC is not supported.";
  99. char NOMOREEXT[]    =    "cannot assign extension.";
  100. char SPECIALATTR[]    =    "special attribute";
  101. char EXTRADATA[]    =    "WARNING: Extra data preceeding the first header.\n\n";
  102.  
  103.